package cn.qingfeng.a002_chat.server.groupsession;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collections;
import java.util.Set;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Group {
    /**
     * 群名
     */
    private String name;

    /**
     * 群成员集合
     */
    private Set<String> members;

    public static final Group EMPTY_GROUP = new Group("empty", Collections.emptySet());


}
